package bean;

public class Area {
//    SELECT
//    t_area.pkid,
//    t_area.f_areaName,
//    t_area.f_forestType,
//    t_area.f_landType,
//    t_area.f_advantageTreeType
//            FROM
//    t_area

    private int pkid;
    private String f_areaName;
    private String f_forestType;
    private String f_landType;
    private String f_advantageTreeType;
    private ClassB classB;

    public int getPkid() {
        return pkid;
    }

    public void setPkid(int pkid) {
        this.pkid = pkid;
    }

    public String getF_areaName() {
        return f_areaName;
    }

    public void setF_areaName(String f_areaName) {
        this.f_areaName = f_areaName;
    }

    public String getF_forestType() {
        return f_forestType;
    }

    public void setF_forestType(String f_forestType) {
        this.f_forestType = f_forestType;
    }

    public String getF_landType() {
        return f_landType;
    }

    public void setF_landType(String f_landType) {
        this.f_landType = f_landType;
    }

    public String getF_advantageTreeType() {
        return f_advantageTreeType;
    }

    public void setF_advantageTreeType(String f_advantageTreeType) {
        this.f_advantageTreeType = f_advantageTreeType;
    }

    public ClassB getClassB() {
        return classB;
    }

    public void setClassB(ClassB classB) {
        this.classB = classB;
    }

    public Area() {
    }

    public Area(String f_areaName, String f_forestType, String f_landType, String f_advantageTreeType) {
        this.f_areaName = f_areaName;
        this.f_forestType = f_forestType;
        this.f_landType = f_landType;
        this.f_advantageTreeType = f_advantageTreeType;

    }

    public Area(int pkid, String f_areaName, String f_forestType, String f_landType, String f_advantageTreeType) {
        this.pkid = pkid;
        this.f_areaName = f_areaName;
        this.f_forestType = f_forestType;
        this.f_landType = f_landType;
        this.f_advantageTreeType = f_advantageTreeType;

    }

    @Override
    public String toString() {
        return "Area{" +
                "pkid=" + pkid +
                ", f_areaName='" + f_areaName + '\'' +
                ", f_forestType='" + f_forestType + '\'' +
                ", f_landType='" + f_landType + '\'' +
                ", f_advantageTreeType='" + f_advantageTreeType + '\'' +
                ", classB=" + classB +
                '}';
    }
}


